$OpenBSD: patch-make_target_mk,v 1.1 2015/06/22 13:07:39 jasper Exp $
--- make/target.mk.orig	Sun Apr  1 20:15:00 2012
+++ make/target.mk	Tue May 22 09:22:14 2012
@@ -24,6 +24,7 @@ ifeq ($(OVERRIDE_TARGET),)
 ifeq ($(TARGET),)
 
 TARGET := $(shell $(ERL_TOP)/erts/autoconf/config.guess)
+TARGET := $(shell $(ERL_TOP)/erts/autoconf/config.sub $(TARGET))
 
 else
 
